/**
 *
 * @author p0838139
 */
package JavaAssignment;

import java.io.*;
import java.util.*;

public class GameData implements Serializable{
    String gameName;
    String gameDesc;
    String gameCat;
    double gamePrice;
    String gameImage;
    int gameReviewNo;
    LinkList gameReview;

    public GameData(){
      gameName = "";
      gameDesc = "";
      gameCat = "";
      gamePrice =0.0;
      gameImage ="";
      gameReviewNo = 0;
      gameReview= null;

    }

    public GameData(String gameName, String gameDesc, String gameCat, double gamePrice,int gameReviewNo, LinkList gameReview, String gameImage){
        this.gameName = gameName;
        this.gameDesc = gameDesc;
        this.gameCat = gameCat;
        this.gamePrice = gamePrice;
        this.gameReviewNo = gameReviewNo;
        this.gameReview = gameReview;
        this.gameImage = gameImage;
    }


    

    public String getGN(){
        return gameName;
    }

    public String getGD(){
        return gameDesc;
    }

    public String getGC(){
        return gameCat;
    }

    public double getGP(){
        return gamePrice;
    }

    public String getGI(){
        return gameImage;
    }

    public int getGRNo(){
        return gameReviewNo;
    }

    
}
